package cn.myj2c.executor.values;

public class JavaDouble extends JavaValue {
    private final double value;

    public JavaDouble(double value) {
        this.value = value;
    }

    @Override
    public double doubleValue() {
        return this.value;
    }

    public JavaDouble copy() {
        return new JavaDouble(value);
    }
    public String toString() {
        return "JavaDouble(value=" + value + ")";
    }
}
